home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / powertip / ptp_ag1.lha / Install_PTP < prev    next >
Text File  |  1995-06-08  |  2KB  |  83 lines

  1. ; $VER: Install-POWER TIPS PRO =A91995 Dean Scott & Ronnie Norwood
  2. ; Script to install Power Tips Pro for Lightwave
  3. ; Written by Josh Farley
  4. ;**************************************************************************
  5.  
  6. (set @app-name "Power Tips Pro")
  7.  
  8. ;***** Get Destination Directory *****
  9.  
  10. (set d
  11.  (askdir
  12.   (default "SYS:")
  13.   (help "The destination you select will be the location of a new"
  14.         " directory called PTP."
  15.   )
  16.   (prompt "Select the destination where a new directory named PTP will be"
  17.           " created.  The destination must have 475k of free disk space."
  18.   )
  19.   (disk)
  20.  )
  21. )
  22.  
  23. (set @execute-dir d)
  24.  
  25. (run "Power_Tips_Pro:lha -x x Power_Tips_Pro:PTP.lha"
  26.  (prompt
  27.   (cat (cat "Extract Power Tips Pro to " d) " ?")
  28.  )
  29.  (confirm)
  30.  (help "If confirmed, the installer will extract the Power Tips Pro "
  31.   "archive to the selected destination."
  32.  )
  33. )
  34.  
  35. (set @default-dest d)
  36.  
  37. ;***** Copy ViewTek to Utilities dir *****
  38.  
  39. (copyfiles
  40.         (prompt "Copying ViewTek.")
  41.         (help @copyfiles-help)
  42.         (source "Power_Tips_Pro:Viewtek")
  43.         (dest "SYS:Utilities")
  44.         (choices
  45.          "VT"
  46.          "VT.info"
  47.         )
  48.         (files)
  49. )
  50.  
  51. ;***** Copy AmigaGuide & library *****
  52.  
  53. (copyfiles
  54.         (prompt "Copying AmigaGuide.")
  55.         (help @copyfiles-help)
  56.         (source "Power_Tips_Pro:Utilities")
  57.         (dest "SYS:Utilities")
  58.         (choices
  59.          "AmigaGuide"
  60.         )
  61.         (files)
  62. )
  63.  
  64. (copyfiles
  65.         (prompt "Copying Help.Guide.")
  66.         (help @copyfiles-help)
  67.         (source "Power_Tips_Pro:S")
  68.         (dest "SYS:S")
  69.         (choices
  70.          "Help.Guide"
  71.         )
  72.         (files)
  73. )
  74.  
  75. (copylib
  76.         (prompt "Copying AmigaGuide.library.")
  77.         (help @copylib-help)
  78.         (source "Power_Tips_Pro:libs/AmigaGuide.library")
  79.         (dest "LIBS:")
  80. )
  81.  
  82. (exit)
  83.